// d.h : main header file for the D application
//

#if !defined(AFX_D_H__33FC5183_84A1_4096_BAFD_0C26431DA907__INCLUDED_)
#define AFX_D_H__33FC5183_84A1_4096_BAFD_0C26431DA907__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CDApp:
// See d.cpp for the implementation of this class
//

class CDApp : public CWinApp
{
public:
	CDApp();
	_RecordsetPtr m_pRs;
	bool ADOExecute(_RecordsetPtr &ADOSet, _variant_t &strSQL);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CDApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	private:
		// Define ADO Database Connnection
	_ConnectionPtr m_pConn;
};
extern CDApp theApp;

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_D_H__33FC5183_84A1_4096_BAFD_0C26431DA907__INCLUDED_)
